package com.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.sfzy.entity.Certificate;

import java.util.List;

public interface CertificateService {
    //增加
    int insertCertificate(Certificate certificate);
    //删除
    int deleteCertificate(int id);
    //修改
    int updateCertificate(Certificate certificate);
    //根据id查询
    Certificate selectCertificateById(int id);
    //分页查询
    PageInfo<Certificate> selectAllCertificates(Certificate certificate, int pageNum, int pageSize);
}
